package springapp.service;

import java.util.List;
import java.util.Map;
import java.util.Set;

import springapp.entity.CompanyEntity;
import springapp.entity.ReviewEntity;

public interface ICompanyService {

	public void addCompany(String companyName, String hq, String industry,
			List<String> locations);

	public List<CompanyEntity> getCompanies(Map<String, String> searchMap);

	public CompanyEntity addReview(int companyId, String review, int rating,
			String gender, Integer experience, String designation,
			String jobType, String location);

	public CompanyEntity addSalary(int companyId, String gender,
			Integer experience, String designation, String jobType,
			String location,Float salary);

	public Set<ReviewEntity> getReviews(int companyId);

	public CompanyEntity getCompany(int id);

	public CompanyEntity updateCompany(int companyId, String hqName,
			String industry, List<String> locations);

}
